package com.meituan.catering.management.order.biz.model.request;

import lombok.Data;
import java.math.BigDecimal;
import java.util.LinkedList;
import java.util.List;

/**
 * @author Believe
 * Date 2022/6/1 14:12
 */
@Data
public class ProduceCateringOrderBizRequest {

    private Integer version;

    private List<Item> items = new LinkedList<>();

    @Data
    public static class Item {

        private String seqNo;

        private Integer version;

        private BigDecimal quantityOnProduce;

        private List<Accessory> accessories = new LinkedList<>();

        @Data
        public static class Accessory {

            private String seqNo;

            private Integer version;

            private BigDecimal quantityOnProduce;
        }
    }
}
